import Layout from '@/layouts/index.vue';
import DashboardIcon from '@/assets/assets-slide-dashboard.svg';

export default [
  {
    path: '/charts',
    component: Layout,
    redirect: '/charts/base',
    name: 'charts',
    meta: { title: '图表', icon: DashboardIcon },
    children: [
      {
        path: 'dhtmlx-gantt',
        name: 'dhtmlx-gantt',
        component: () => import('@/pages/charts/dhtmlx-gantt.vue'),
        meta: { title: 'dhtmlx-gantt' },
      },
    ],
  },
];
